package com.qxp.simplerpc;

import com.qxp.simplerpc.connect.RpcClientHandler;

import java.util.List;

public interface RegistryService {
    //## server
    void register( String url);

    void unregister(String url);

    //##client
    void subscribe(RpcClientHandler rpcClientHandler);

    String unsubcribe(RpcClientHandler rpcClientHandler);
    //get server url
    List<String> listUrl();
}
